import { Controller, Get } from'@nestjs/common';
import { ItemService } from'./item.service';
import { ApiTags, } from "@nestjs/swagger";
@Controller('item')
@ApiTags("item")
export class ItemController {
  constructor(private serv: ItemService) { }

  @Get()
  public async getAll() {
    return await this.serv.getAll();
  }

  
}
